package com.yjd.comm.borrow.dto;

import java.io.Serializable;

import com.yjd.comm.borrow.enums.InvestChannelEnum;

/**
 * <b>description</b>：购买转让的债权 <br>
 * <b>time</b>：2014-12-3下午1:34:47 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public class BuyCreditorTransferDto implements Serializable {

	/**
	 * @Fields serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 债权转让记录编号
	 */
	private Long creditor_transfer_id;
	/**
	 * 购买人id
	 */
	private Long buyUserId;

	/**
	 * 交易密码
	 */
	private String paypassword;
	/**
	 * 是否需要验证交易密码
	 * 默认是网站,需要交易密码.但是手机端不要求交易密码
	 */
	private Boolean needValid=Boolean.FALSE;
	
	/**
	 * 投资渠道
	 */
	private InvestChannelEnum investChannelEnum = InvestChannelEnum.PIC;

	public BuyCreditorTransferDto() {
	}

	public BuyCreditorTransferDto(Long creditor_transfer_id, Long buyUserId,
			String paypassword,InvestChannelEnum investChannelEnum) {
		this.creditor_transfer_id = creditor_transfer_id;
		this.buyUserId = buyUserId;
		this.paypassword = paypassword;
		this.investChannelEnum = investChannelEnum;
	}

	public Long getCreditor_transfer_id() {
		return creditor_transfer_id;
	}

	public void setCreditor_transfer_id(Long creditor_transfer_id) {
		this.creditor_transfer_id = creditor_transfer_id;
	}

	public Long getBuyUserId() {
		return buyUserId;
	}

	public void setBuyUserId(Long buyUserId) {
		this.buyUserId = buyUserId;
	}

	public String getPaypassword() {
		return paypassword;
	}

	public void setPaypassword(String paypassword) {
		this.paypassword = paypassword;
	}

	public Boolean getNeedValid() {
		return needValid;
	}

	public void setNeedValid(Boolean needValid) {
		this.needValid = needValid;
	}

	public InvestChannelEnum getInvestChannelEnum() {
		return investChannelEnum;
	}

	public void setInvestChannelEnum(InvestChannelEnum investChannelEnum) {
		this.investChannelEnum = investChannelEnum;
	}

	
}
